<?php
/**
 * indexEgpusersUpload.php
 * 
 * (C) 2009, tetsuya.odaka(EzoGP).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* 
 * EGP_USERS一括登録のindex画面
 * 
 * author；	tetsuya.odaka
 * date ;	2009/6/2
 * 
*/
	// 前準備
	include("../Myznala/myHeader.inc.php");
	
	/*
	 * 変数定義
	 */
	// 遷移先のテンプレート名
	$myTemplate="../examples-egpusers/templates/egpusersUpload.tpl";
	
	$myTplData=array(
		'myLoginUser'=>$myLoginUser,
		'myAppName'=>'examples-egpusers',
		'myPageTitle'=>'EGPUSERS_Batch',
	
		'button_array'=>initButton()
	);

	// 後処理
	include("../Myznala/myFooter.inc.php");
		
	return;

	/* 
	 * 次画面のボタン表示のための内部関数
	*/
	function initButton(){
		$bArr=array();
		require_once('../Myznala/ButtonBean.class.php');

		$bArr=array();
		// 登録・更新
		$bObj=new ButtonBean();
		$bObj->setId("egp-my-entry-button");
		$bObj->setName("entry");
		$bObj->setSrc("../images/upload.png");
		$bObj->setAlt("アップロード");
		$bArr[0]=$bObj;
		
		// 戻る
		$bObj=new ButtonBean();
		$bObj->setId("egp-my-back-button");
		$bObj->setName("back");
		$bObj->setSrc("../images/process-stop.png");
		$bObj->setAlt("戻る");
		$bArr[1]=$bObj;

		return $bArr;
	}
?>